package com.along.textdemo;


import com.along.textdemo.base.BaseActivity;
import com.along.textdemo.databinding.ActivityVoiceBinding;
import com.along.textdemo.model.VoiceViewModel;
import com.along.textdemo.view.AudioRecorderButton;
import com.along.textdemo.view.VoiceRecorderButton;

/**
 * 点击语音的界面
 */
public class VoiceActivity extends BaseActivity<VoiceViewModel, ActivityVoiceBinding> {
    @Override
    protected int getContentViewId() {
        return R.layout.activity_voice;
    }

    @Override
    protected void processLogic() {

        binding.voiceBtn.setAudioFinishRecorderListener(new VoiceRecorderButton.AudioFinishRecorderListener() {
            @Override
            public void onFinish(float time, String filePath) {

            }
        });
    }
}
